package com.google.android.play.core.assetpacks;

import android.os.Bundle;
import c.b.a.c.a.c.p0;
import c.b.a.c.a.g.p;
import java.util.List;

class l<T> extends p0 {

    /* renamed from: a  reason: collision with root package name */
    final p<T> f2564a;

    /* renamed from: b  reason: collision with root package name */
    final /* synthetic */ q f2565b;

    l(q qVar, p<T> pVar) {
        this.f2565b = qVar;
        this.f2564a = pVar;
    }

    l(q qVar, p pVar, byte[] bArr) {
        this(qVar, pVar);
    }

    l(q qVar, p pVar, char[] cArr) {
        this(qVar, pVar);
    }

    l(q qVar, p pVar, int[] iArr) {
        this(qVar, pVar);
    }

    public final void A(int i) {
        this.f2565b.f2598c.b();
        q.f.f("onGetSession(%d)", Integer.valueOf(i));
    }

    public void D(Bundle bundle, Bundle bundle2) {
        this.f2565b.f2598c.b();
        q.f.f("onRequestDownloadInfo()", new Object[0]);
    }

    public void E(Bundle bundle) {
        this.f2565b.f2598c.b();
        q.f.f("onNotifyModuleCompleted(%s, sessionId=%d)", bundle.getString("module_name"), Integer.valueOf(bundle.getInt("session_id")));
    }

    public void a() {
        this.f2565b.f2598c.b();
        q.f.f("onCancelDownloads()", new Object[0]);
    }

    public void b(Bundle bundle) {
        this.f2565b.f2598c.b();
        int i = bundle.getInt("error_code");
        q.f.e("onError(%d)", Integer.valueOf(i));
        this.f2564a.d(new a(i));
    }

    public void c() {
        this.f2565b.f2598c.b();
        q.f.f("onRemoveModule()", new Object[0]);
    }

    public void d(Bundle bundle) {
        this.f2565b.f2598c.b();
        q.f.f("onNotifyChunkTransferred(%s, %s, %d, session=%d)", bundle.getString("module_name"), bundle.getString("slice_id"), Integer.valueOf(bundle.getInt("chunk_number")), Integer.valueOf(bundle.getInt("session_id")));
    }

    public void h0(Bundle bundle, Bundle bundle2) {
        this.f2565b.f2598c.b();
        q.f.f("onGetChunkFileDescriptor", new Object[0]);
    }

    public void i(Bundle bundle, Bundle bundle2) {
        this.f2565b.f2599d.b();
        q.f.f("onKeepAlive(%b)", Boolean.valueOf(bundle.getBoolean("keep_alive")));
    }

    public void j(List<Bundle> list) {
        this.f2565b.f2598c.b();
        q.f.f("onGetSessionStates", new Object[0]);
    }

    public void n0(int i, Bundle bundle) {
        this.f2565b.f2598c.b();
        q.f.f("onStartDownload(%d)", Integer.valueOf(i));
    }

    public final void o(int i) {
        this.f2565b.f2598c.b();
        q.f.f("onCancelDownload(%d)", Integer.valueOf(i));
    }

    public void q0(Bundle bundle) {
        this.f2565b.f2598c.b();
        q.f.f("onNotifySessionFailed(%d)", Integer.valueOf(bundle.getInt("session_id")));
    }
}
